package la.iok.hzsvn.lewin.movie.operation.entity;

/**
 * 用户钱包
 */
public class Wallet {
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 余额,单位为分
     */
    private Integer balance;
    /**
     * 数据版本
     */
    private Long version;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}
